package com.example.houqin_oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.PublicWare;
import com.example.comment_oa.pojos.RepairRecord;
import com.example.comment_oa.pojos.ReplaceRecord;
import com.example.comment_oa.pojos.rear.Noet;
import com.example.comment_oa.pojos_vo.LogisticsVo.PublicWareVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author liang
* @description 针对表【public_ware】的数据库操作Mapper
* @createDate 2022-10-19 16:15:59
* @Entity com.example.houqin_oa.model.pojos.PublicWare
*/
@Mapper
public interface PublicWareMapper extends BaseMapper<PublicWare> {

    List<PublicWare> QueryWare(PublicWare publicWare);

    boolean UpRear(RepairRecord repairRecord);

    PublicWare SelectNo(String repairGoodsNo);

    int Polling(String repairGoodsNo, int Status);

    boolean NewPublicGoods(PublicWareVo publicWare);

    boolean Rework(Noet noet);

    boolean addWare(PublicWare ware);

    boolean upState(PublicWare pub);

    boolean UpSet(String repairGoodsNo, String repairState);

//    boolean upSata(@Param("state")String state,@Param("Id")String Id);
}




